package com.pyl.admin.core.enums;

import lombok.Getter;

/**
 * 数据库字段状态枚举
 *
 * @author 灵魂贰婶
 * @date 2018/8/14
 */
@Getter
public enum StatusEnum {

    OK((byte) 1, "启用"),
    FREEZED((byte) 2, "冻结"),
    DELETE((byte) 3, "删除"),

    PAY_WAIT((byte)1,"待支付"),
    PAY_SUCCESS((byte)2,"已支付"),
    PAY_TYPE_WECHAT((byte)1,"微信支付"),
    PAY_TYPE_ALI((byte)2,"支付宝支付"),
    PAY_TYPE_UNION((byte)3,"银联支付"),


    ;

    private Byte code;

    private String message;

    StatusEnum(Byte code, String message) {
        this.code = code;
        this.message = message;
    }
}

